import 'package:flutter/material.dart';

class ListWheelSCrollViewPage extends StatefulWidget {
  @override
  _ListWheelSCrollViewPageState createState() =>
      _ListWheelSCrollViewPageState();
}

class _ListWheelSCrollViewPageState extends State<ListWheelSCrollViewPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(),
      body: Container(
        height: 100,
        color: Colors.green,
        child: ListWheelScrollView(
          physics: FixedExtentScrollPhysics(),
          children: <Widget>[
            Text('1'),
            Text('2'),
            Text('3'),
            Text('4'),
            Text('5'),
            Text('6'),
            Text('7'),
            Text('8'),
            Text('9'),
            Text('10'),
          ],
          itemExtent: 20,
        ),
      ),
    );
  }
}
